[INFO] fetching crate juggernaut 0.9.0...
[INFO] building juggernaut-0.9.0 against master#ff34b919075f35a1787659e9c448a34b06bab8de for issue-85264
[INFO] extracting crate juggernaut 0.9.0 into /workspace/builds/worker-3/source
[INFO] validating manifest of crates.io crate juggernaut 0.9.0 on toolchain ff34b919075f35a1787659e9c448a34b06bab8de
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate juggernaut 0.9.0
[INFO] finished tweaking crates.io crate juggernaut 0.9.0
[INFO] tweaked toml for crates.io crate juggernaut 0.9.0 written to /workspace/builds/worker-3/source/Cargo.toml
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] f8e9097fb077c4ee4d7516feff808f1750725adae5fc7a0d738c52ae17b07570
[INFO] running `Command { std: "docker" "start" "-a" "f8e9097fb077c4ee4d7516feff808f1750725adae5fc7a0d738c52ae17b07570", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f8e9097fb077c4ee4d7516feff808f1750725adae5fc7a0d738c52ae17b07570", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f8e9097fb077c4ee4d7516feff808f1750725adae5fc7a0d738c52ae17b07570", kill_on_drop: false }`
[INFO] [stdout] f8e9097fb077c4ee4d7516feff808f1750725adae5fc7a0d738c52ae17b07570
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 11d5536232278389cb28c7feeb3d2ab0e7441b3b62c06b2da88aa4897112d327
[INFO] running `Command { std: "docker" "start" "-a" "11d5536232278389cb28c7feeb3d2ab0e7441b3b62c06b2da88aa4897112d327", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.95
[INFO] [stderr]    Compiling rand v0.4.6
[INFO] [stderr]    Compiling rand v0.3.23
[INFO] [stderr]    Compiling juggernaut v0.9.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused `#[macro_use]` import
[INFO] [stdout]  --> src/lib.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | #[macro_use]
[INFO] [stdout]   | ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/matrix.rs:13:41
[INFO] [stdout]    |
[INFO] [stdout] 13 |     fn generate(m: usize, n: usize, f: &Fn(usize, usize) -> f64) -> Self;
[INFO] [stdout]    |                                         ^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(usize, usize) -> f64`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/matrix.rs:14:48
[INFO] [stdout]    |
[INFO] [stdout] 14 |     fn generate_by_row(m: usize, n: usize, f: &Fn(usize) -> Vec<f64>) -> Self;
[INFO] [stdout]    |                                                ^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(usize) -> Vec<f64>`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/matrix.rs:21:23
[INFO] [stdout]    |
[INFO] [stdout] 21 |     fn map(&self, f: &Fn(f64, usize, usize) -> f64) -> Matrix;
[INFO] [stdout]    |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(f64, usize, usize) -> f64`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/matrix.rs:22:27
[INFO] [stdout]    |
[INFO] [stdout] 22 |     fn map_row(&self, f: &Fn(Vec<f64>) -> Vec<f64>) -> Matrix;
[INFO] [stdout]    |                           ^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Vec<f64>) -> Vec<f64>`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/matrix.rs:40:41
[INFO] [stdout]    |
[INFO] [stdout] 40 |     fn generate(m: usize, n: usize, f: &Fn(usize, usize) -> f64) -> Matrix {
[INFO] [stdout]    |                                         ^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(usize, usize) -> f64`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/matrix.rs:60:48
[INFO] [stdout]    |
[INFO] [stdout] 60 |     fn generate_by_row(m: usize, n: usize, f: &Fn(usize) -> Vec<f64>) -> Matrix {
[INFO] [stdout]    |                                                ^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(usize) -> Vec<f64>`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/matrix.rs:145:23
[INFO] [stdout]     |
[INFO] [stdout] 145 |     fn map(&self, f: &Fn(f64, usize, usize) -> f64) -> Matrix {
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(f64, usize, usize) -> f64`
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]     = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/matrix.rs:150:27
[INFO] [stdout]     |
[INFO] [stdout] 150 |     fn map_row(&self, f: &Fn(Vec<f64>) -> Vec<f64>) -> Matrix {
[INFO] [stdout]     |                           ^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Vec<f64>) -> Vec<f64>`
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]     = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]  --> src/nl.rs:7:25
[INFO] [stdout]   |
[INFO] [stdout] 7 |     pub activation: Box<Activation>,
[INFO] [stdout]   |                         ^^^^^^^^^^ help: use `dyn`: `dyn Activation`
[INFO] [stdout]   |
[INFO] [stdout]   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]   = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/nn.rs:15:24
[INFO] [stdout]    |
[INFO] [stdout] 15 |     cost_function: Box<CostFunction>,
[INFO] [stdout]    |                        ^^^^^^^^^^^^ help: use `dyn`: `dyn CostFunction`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/nn.rs:17:29
[INFO] [stdout]    |
[INFO] [stdout] 17 |     on_error_fn: Option<Box<Fn(f64)>>,
[INFO] [stdout]    |                             ^^^^^^^ help: use `dyn`: `dyn Fn(f64)`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/nn.rs:18:29
[INFO] [stdout]    |
[INFO] [stdout] 18 |     on_epoch_fn: Option<Box<Fn(&NeuralNetwork)>>,
[INFO] [stdout]    |                             ^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&NeuralNetwork)`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around block return value
[INFO] [stdout]   --> src/cost/cross_entropy.rs:60:9
[INFO] [stdout]    |
[INFO] [stdout] 60 |         (cost.fold(0f64, |sum, val| sum + val) / target.cols() as f64)
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 14 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 4.79s
[INFO] running `Command { std: "docker" "inspect" "11d5536232278389cb28c7feeb3d2ab0e7441b3b62c06b2da88aa4897112d327", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "11d5536232278389cb28c7feeb3d2ab0e7441b3b62c06b2da88aa4897112d327", kill_on_drop: false }`
[INFO] [stdout] 11d5536232278389cb28c7feeb3d2ab0e7441b3b62c06b2da88aa4897112d327
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 2581a99f4268dbe29dfaaaf904fa44f16fe85ae95430f39ca97d6bba83d3ba25
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "2581a99f4268dbe29dfaaaf904fa44f16fe85ae95430f39ca97d6bba83d3ba25", kill_on_drop: false }`
[INFO] [stderr]    Compiling juggernaut v0.9.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused `#[macro_use]` import
[INFO] [stdout]  --> src/lib.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | #[macro_use]
[INFO] [stdout]   | ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/matrix.rs:13:41
[INFO] [stdout]    |
[INFO] [stdout] 13 |     fn generate(m: usize, n: usize, f: &Fn(usize, usize) -> f64) -> Self;
[INFO] [stdout]    |                                         ^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(usize, usize) -> f64`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/matrix.rs:14:48
[INFO] [stdout]    |
[INFO] [stdout] 14 |     fn generate_by_row(m: usize, n: usize, f: &Fn(usize) -> Vec<f64>) -> Self;
[INFO] [stdout]    |                                                ^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(usize) -> Vec<f64>`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/matrix.rs:21:23
[INFO] [stdout]    |
[INFO] [stdout] 21 |     fn map(&self, f: &Fn(f64, usize, usize) -> f64) -> Matrix;
[INFO] [stdout]    |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(f64, usize, usize) -> f64`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/matrix.rs:22:27
[INFO] [stdout]    |
[INFO] [stdout] 22 |     fn map_row(&self, f: &Fn(Vec<f64>) -> Vec<f64>) -> Matrix;
[INFO] [stdout]    |                           ^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Vec<f64>) -> Vec<f64>`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/matrix.rs:40:41
[INFO] [stdout]    |
[INFO] [stdout] 40 |     fn generate(m: usize, n: usize, f: &Fn(usize, usize) -> f64) -> Matrix {
[INFO] [stdout]    |                                         ^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(usize, usize) -> f64`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/matrix.rs:60:48
[INFO] [stdout]    |
[INFO] [stdout] 60 |     fn generate_by_row(m: usize, n: usize, f: &Fn(usize) -> Vec<f64>) -> Matrix {
[INFO] [stdout]    |                                                ^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(usize) -> Vec<f64>`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/matrix.rs:145:23
[INFO] [stdout]     |
[INFO] [stdout] 145 |     fn map(&self, f: &Fn(f64, usize, usize) -> f64) -> Matrix {
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(f64, usize, usize) -> f64`
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]     = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/matrix.rs:150:27
[INFO] [stdout]     |
[INFO] [stdout] 150 |     fn map_row(&self, f: &Fn(Vec<f64>) -> Vec<f64>) -> Matrix {
[INFO] [stdout]     |                           ^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Vec<f64>) -> Vec<f64>`
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]     = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]  --> src/nl.rs:7:25
[INFO] [stdout]   |
[INFO] [stdout] 7 |     pub activation: Box<Activation>,
[INFO] [stdout]   |                         ^^^^^^^^^^ help: use `dyn`: `dyn Activation`
[INFO] [stdout]   |
[INFO] [stdout]   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]   = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/nn.rs:15:24
[INFO] [stdout]    |
[INFO] [stdout] 15 |     cost_function: Box<CostFunction>,
[INFO] [stdout]    |                        ^^^^^^^^^^^^ help: use `dyn`: `dyn CostFunction`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/nn.rs:17:29
[INFO] [stdout]    |
[INFO] [stdout] 17 |     on_error_fn: Option<Box<Fn(f64)>>,
[INFO] [stdout]    |                             ^^^^^^^ help: use `dyn`: `dyn Fn(f64)`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/nn.rs:18:29
[INFO] [stdout]    |
[INFO] [stdout] 18 |     on_epoch_fn: Option<Box<Fn(&NeuralNetwork)>>,
[INFO] [stdout]    |                             ^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&NeuralNetwork)`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around block return value
[INFO] [stdout]   --> src/cost/cross_entropy.rs:60:9
[INFO] [stdout]    |
[INFO] [stdout] 60 |         (cost.fold(0f64, |sum, val| sum + val) / target.cols() as f64)
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 14 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/matrix.rs:13:41
[INFO] [stdout]    |
[INFO] [stdout] 13 |     fn generate(m: usize, n: usize, f: &Fn(usize, usize) -> f64) -> Self;
[INFO] [stdout]    |                                         ^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(usize, usize) -> f64`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/matrix.rs:14:48
[INFO] [stdout]    |
[INFO] [stdout] 14 |     fn generate_by_row(m: usize, n: usize, f: &Fn(usize) -> Vec<f64>) -> Self;
[INFO] [stdout]    |                                                ^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(usize) -> Vec<f64>`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/matrix.rs:21:23
[INFO] [stdout]    |
[INFO] [stdout] 21 |     fn map(&self, f: &Fn(f64, usize, usize) -> f64) -> Matrix;
[INFO] [stdout]    |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(f64, usize, usize) -> f64`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/matrix.rs:22:27
[INFO] [stdout]    |
[INFO] [stdout] 22 |     fn map_row(&self, f: &Fn(Vec<f64>) -> Vec<f64>) -> Matrix;
[INFO] [stdout]    |                           ^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Vec<f64>) -> Vec<f64>`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/matrix.rs:40:41
[INFO] [stdout]    |
[INFO] [stdout] 40 |     fn generate(m: usize, n: usize, f: &Fn(usize, usize) -> f64) -> Matrix {
[INFO] [stdout]    |                                         ^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(usize, usize) -> f64`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/matrix.rs:60:48
[INFO] [stdout]    |
[INFO] [stdout] 60 |     fn generate_by_row(m: usize, n: usize, f: &Fn(usize) -> Vec<f64>) -> Matrix {
[INFO] [stdout]    |                                                ^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(usize) -> Vec<f64>`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/matrix.rs:145:23
[INFO] [stdout]     |
[INFO] [stdout] 145 |     fn map(&self, f: &Fn(f64, usize, usize) -> f64) -> Matrix {
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(f64, usize, usize) -> f64`
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]     = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/matrix.rs:150:27
[INFO] [stdout]     |
[INFO] [stdout] 150 |     fn map_row(&self, f: &Fn(Vec<f64>) -> Vec<f64>) -> Matrix {
[INFO] [stdout]     |                           ^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Vec<f64>) -> Vec<f64>`
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]     = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]  --> src/nl.rs:7:25
[INFO] [stdout]   |
[INFO] [stdout] 7 |     pub activation: Box<Activation>,
[INFO] [stdout]   |                         ^^^^^^^^^^ help: use `dyn`: `dyn Activation`
[INFO] [stdout]   |
[INFO] [stdout]   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]   = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/nn.rs:15:24
[INFO] [stdout]    |
[INFO] [stdout] 15 |     cost_function: Box<CostFunction>,
[INFO] [stdout]    |                        ^^^^^^^^^^^^ help: use `dyn`: `dyn CostFunction`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/nn.rs:17:29
[INFO] [stdout]    |
[INFO] [stdout] 17 |     on_error_fn: Option<Box<Fn(f64)>>,
[INFO] [stdout]    |                             ^^^^^^^ help: use `dyn`: `dyn Fn(f64)`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/nn.rs:18:29
[INFO] [stdout]    |
[INFO] [stdout] 18 |     on_epoch_fn: Option<Box<Fn(&NeuralNetwork)>>,
[INFO] [stdout]    |                             ^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&NeuralNetwork)`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around block return value
[INFO] [stdout]   --> src/cost/cross_entropy.rs:60:9
[INFO] [stdout]    |
[INFO] [stdout] 60 |         (cost.fold(0f64, |sum, val| sum + val) / target.cols() as f64)
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 13 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 2.23s
[INFO] running `Command { std: "docker" "inspect" "2581a99f4268dbe29dfaaaf904fa44f16fe85ae95430f39ca97d6bba83d3ba25", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2581a99f4268dbe29dfaaaf904fa44f16fe85ae95430f39ca97d6bba83d3ba25", kill_on_drop: false }`
[INFO] [stdout] 2581a99f4268dbe29dfaaaf904fa44f16fe85ae95430f39ca97d6bba83d3ba25
